package Entities;

/**
 *
 * @author 647_2
 */
public class ExecutorWithInstrument extends BaseEntity {

    // TODO Добавить конфиг

    private Executor executor;
    private Instrument instrument;

    public ExecutorWithInstrument(){
        super();
        executor = null;
        instrument = null;
    }

    public ExecutorWithInstrument(int ID, Executor executor, Instrument instrument){
        super(ID, "Сущность исполнителя с инструментом");
        this.executor = executor;
        this.instrument = instrument;
    }

    public ExecutorWithInstrument(Executor executor, Instrument instrument){
        super("Сущность исполнителя с инструментом");
        this.executor = executor;
        this.instrument = instrument;
    }

    public Executor get_executor() {
        return executor;
    }

    public void set_executor(Executor executor) {
        this.executor = executor;
    }

    public Instrument get_instrument() {
        return instrument;
    }

    public void set_instrument(Instrument instrument) {
        this.instrument = instrument;
    }


}
